package com.shuxinxin.test.pojo;
//作者 、 书籍名称 、 类型 、 价格  、  封面
public class Book {
    private Integer book_id;
    private String book_writer;
    private String book_name;
    private String book_type;
    private Double book_price;

    public Book() {
    }

    public Book(Integer book_id, String book_writer, String book_name, String book_type, Double book_price) {
        this.book_id = book_id;
        this.book_writer = book_writer;
        this.book_name = book_name;
        this.book_type = book_type;
        this.book_price = book_price;
    }

    public Integer getBook_id() {
        return book_id;
    }

    public void setBook_id(Integer book_id) {
        this.book_id = book_id;
    }

    public String getBook_writer() {
        return book_writer;
    }

    public void setBook_writer(String book_writer) {
        this.book_writer = book_writer;
    }

    public String getBook_name() {
        return book_name;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public String getBook_type() {
        return book_type;
    }

    public void setBook_type(String book_type) {
        this.book_type = book_type;
    }

    public Double getBook_price() {
        return book_price;
    }

    public void setBook_price(Double book_price) {
        this.book_price = book_price;
    }

    @Override
    public String toString() {
        return "Book{" +
                "book_id=" + book_id +
                ", book_writer='" + book_writer + '\'' +
                ", book_name='" + book_name + '\'' +
                ", book_type='" + book_type + '\'' +
                ", book_price=" + book_price +
                '}';
    }
}
